/**
 * output package name
 */
package com.kingdee.eas.custom.hr.attendance;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class OverTimeEnum extends IntEnum
{
    public static final int WEEKDAY_VALUE = 1;
    public static final int WEEKEND_VALUE = 2;
    public static final int LEGAL_VALUE = 3;

    public static final OverTimeEnum WEEKDAY = new OverTimeEnum("WEEKDAY", WEEKDAY_VALUE);
    public static final OverTimeEnum WEEKEND = new OverTimeEnum("WEEKEND", WEEKEND_VALUE);
    public static final OverTimeEnum LEGAL = new OverTimeEnum("LEGAL", LEGAL_VALUE);

    /**
     * construct function
     * @param integer overTimeEnum
     */
    private OverTimeEnum(String name, int overTimeEnum)
    {
        super(name, overTimeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static OverTimeEnum getEnum(String overTimeEnum)
    {
        return (OverTimeEnum)getEnum(OverTimeEnum.class, overTimeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static OverTimeEnum getEnum(int overTimeEnum)
    {
        return (OverTimeEnum)getEnum(OverTimeEnum.class, overTimeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(OverTimeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(OverTimeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(OverTimeEnum.class);
    }
}